package com.etc.extendsdemo;

/**
 * @author: knowno
 * @create: 2024-09-05 14:16
 * @Version 1.0
 **/
public class Pupil extends  Student{


    public Pupil() {
        System.out.println("子类pupil的构造方法.....");

    }

    @Override
    public void study() {
        super.study();//调用父类的study方法
        System.out.println("小学生认真的学习.....");
    }
}
